package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SCopyMsgInfo extends Object implements IMessageBase
    {
        public var type:ECopyInfoType;
        public var num1:int;
        public var num2:int;
        public var num3:int;
        public var num4:int;
        public var num5:int;
        public var num6:int;
        public const _type:int = 20428;
        public static var _regist:SCopyMsgInfo = new SCopyMsgInfo(true);

        public function SCopyMsgInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SCopyMsgInfo();
        }

        public function __write(param1:SerializeStream) : void
        {
            this.type.__write(param1);
            param1.writeInt(this.num1);
            param1.writeInt(this.num2);
            param1.writeInt(this.num3);
            param1.writeInt(this.num4);
            param1.writeInt(this.num5);
            param1.writeInt(this.num6);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.type = ECopyInfoType.__read(param1);
            this.num1 = param1.readInt();
            this.num2 = param1.readInt();
            this.num3 = param1.readInt();
            this.num4 = param1.readInt();
            this.num5 = param1.readInt();
            this.num6 = param1.readInt();
            
        }

    }
}
